package com.weiyuwqj.admin.controller.admin.log;

import com.weiyuwqj.admin.controller.admin.log.annotation.LogAnnotation;

import java.math.BigDecimal;
import java.math.RoundingMode;

/**
 * Created by Administrator on 2017/1/4.
 */
public class Test {
    public static  void main(String[] args){
        BigDecimal decimal1 = new BigDecimal(99.999);
        BigDecimal decimal2 = new BigDecimal(100);
        BigDecimal decimal = decimal1.divide(decimal2,0, RoundingMode.FLOOR).multiply(new BigDecimal(100)) ;
        System.out.println(decimal);
    }

    @LogAnnotation(module = "ceshi")
    public static  void test(){
        System.out.print("ceshi ");
    }
}
